package com.lianyi.push.share;

import io.netty.channel.group.ChannelGroup;
import io.netty.channel.group.DefaultChannelGroup;
import io.netty.util.concurrent.GlobalEventExecutor;

/**
 * 存储整个工程的全局配置
 * Created by leilei on 2018/3/26.
 */

public class NettyConfig {
    /**
     * 存储每一个客户端接入进来时的channel对象
     */
    public static ChannelGroup client_group = new DefaultChannelGroup(GlobalEventExecutor.INSTANCE);
    public static ChannelGroup service_group = new DefaultChannelGroup(GlobalEventExecutor.INSTANCE);
}
